<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace AlibabaCloud\Client\Traits;

trait HistoryTrait
{
    private static $isRememberHistory = false;
    private static $history = [];
    public static function getHistory()
    {
        return self::$history;
    }
    public static function forgetHistory()
    {
        self::$history = [];
    }
    public static function notRememberHistory()
    {
        self::$isRememberHistory = false;
    }
    public static function rememberHistory()
    {
        self::$isRememberHistory = true;
    }
    public static function isRememberHistory()
    {
        return self::$isRememberHistory;
    }
    public static function &referenceHistory()
    {
        return self::$history;
    }
    public static function countHistory()
    {
        return count(self::$history);
    }
}

?>